<?php
/**
 * 菜单栏配置
 * User: Woozee
 * Date: 2020/10/29
 * Time: 11:10
 */

return [
    'admin' => [
        [
            'id' => 100,
            'title' => '文章管理',
            'icon' => 'mdi-file-outline',
            'children' => [
                [
                    'id' => 100001,
                    'title' => '文章列表',
                    'route' => '/admin/article',
                ],
                [
                    'id' => 100002,
                    'title' => '发布文章',
                    'route' => '/admin/article/add',
                ],
                [
                    'id' => 100003,
                    'title' => '文章池',
                    'route' => '/admin/article/pool',
                ],
            ],
        ],
        [
            'id' => 200,
            'title' => '评论管理',
            'icon' => 'mdi-message-outline',
            'route' => '/admin/comment',
        ],
        [
            'id' => 300,
            'title' => '分类管理',
            'icon' => 'mdi-bullseye-arrow',
            'route' => '/admin/category',
        ],
        [
            'id' => 400,
            'title' => '标签管理',
            'icon' => 'mdi-label-outline',
            'route' => '/admin/label',
        ],
        [
            'id' => 500,
            'title' => '友情链接',
            'icon' => 'mdi-link',
            'route' => '/admin/friendlink',
        ],
        [
            'id' => 600,
            'title' => '七牛云资源',
            'icon' => 'mdi-cloud-upload',
            'route' => '/admin/qiniu',
        ],
//    [
//        'id' => 700,
//        'title' => '图片管理',
//        'icon' => 'mdi-image-outline',
//        'route' => '/admin/image',
//    ],
        [
            'id' => 800,
            'title' => '系统管理',
            'icon' => 'mdi-cog-outline',
            'children' => [
                [
                    'id' => 800001,
                    'title' => '系统设置',
                    'route' => '/admin/system/config',
                ],
                [
                    'id' => 800002,
                    'title' => '访客列表',
                    'route' => '/admin/visitor',
                ],
            ],
        ],
    ],
    'front' => [
        [
            'id' => 1,
            'sort_id' => 1,
            'title' => 'IT技术',
            'route' => '/it.html',
            'auth' => false,
        ],
        [
            'id' => 2,
            'sort_id' => 2,
            'title' => '投资分享',
            'route' => '/invest/home.html',
            'auth' => false,
        ],
        [
            'id' => 3,
            'sort_id' => 4,
            'title' => '博客开源',
            'route' => '/oss.html',
            'auth' => false,
        ],
        [
            'id' => 4,
            'sort_id' => 5,
            'title' => '关于',
            'route' => '/about.html',
            'auth' => false,
        ],
        [
            'id' => 5,
            'sort_id' => 3,
            'title' => '股票',
            'route' => '/stock/home.html',
            'auth' => true,
        ],
    ],
];
